body {
    margin: 0;
    padding: 0;
    background: #22ebbf;  /* 注释 */
}

/* 搜索框整体 */
.search-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #2f3640;
    height: 40px;
    border-radius: 40px;
    padding: 10px;
}
/* 搜索框整体hover时，对输入框进行交互 */
.search-box:hover > .search-txt {
    width: 240px;
    padding: 0 6px;
}
/* 搜索框整体hover时，对搜索按钮进行交互 */
.search-box:hover > .search-btn {
    background: white;
}
/* 搜索按钮 */
.search-btn {
color: #5576e1;
float: right;
width: 40px;
border-radius: 50%;
background: #2f3640;
display: flex;
transition: 0.4s;
justify-content: center;
align-items: center;
}
/* 输入框 */
.search-txt {
    border: none;
    background: none;
    outline: none;
    float: left;
    padding: 0;
    color: white;
    transition: 0.4s;
    font-size: 16px;
    line-height: 40px;
    width: 0px;
}
.icon {
    width: 30px;
    height: 40px;
}